home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / X11 / Fresco / build / Unix / config / cf / sony.cf < prev    next >
Text File  |  1995-07-12  |  2KB  |  81 lines

  1. XCOMM platform:  $XConsortium: sony.cf,v 1.57 94/04/02 08:40:51 kaleb Exp $
  2.  
  3. #ifdef SonyBsdArchitecture
  4.  
  5. #define OSName                  NEWS-OS 4.2.1C
  6. #define OSMajorVersion          4
  7. #define OSMinorVersion          2
  8. #define OSTeenyVersion          1
  9. #define SetTtyGroup             YES
  10. #define HasVoidSignalReturn     NO
  11. #define HasNdbm                 YES
  12. #define DirFailPrefix -
  13. #define InstKmemFlags        -g kmem -m 2755
  14. #define DefaultUserPath :/bin:/usr/bin:$(BINDIR):/usr/ucb:/usr/sony/bin:
  15. #define DefaultSystemPath /etc:/usr/etc:/bin:/usr/bin:$(BINDIR):/usr/ucb:/usr/sony/bin:
  16. #ifdef MipsArchitecture
  17. #define ExtraLibraries        -lmld
  18. #define LintOpts        -ax
  19. #define LintLibFlag        -o
  20. #define DefaultCCOptions    -Wf,-XNh2000,-XNd6000,-XNp10000 -Olimit 2000
  21. #define PexCCOptions        -Wf,-XNh2000,-XNd15000,-XNp15000 -Olimit 2000
  22. #else
  23. #define HasFortran        YES
  24. #endif
  25. #if OSMajorVersion >= 4
  26. #define HasShm            YES
  27. #define HasPutenv        YES
  28. #define HasSecureRPC        YES
  29. #define XdmDir            /etc/xdm
  30. #if OSMinorVersion >= 1
  31. #define HasBsearch        YES
  32. #else
  33. #define HasBsearch        NO
  34. #endif
  35. #else
  36. #define StandardDefines        -DNOSTDHDRS
  37. #define HasBsearch        NO
  38. #endif
  39.  
  40. #else
  41.  
  42. #define OSName            NEWS-OS 6.0
  43. #define OSMajorVersion        6
  44. #define OSMinorVersion        0
  45. #define BootstrapCFlags        -Dsony
  46. #define SystemV4        YES
  47. #define CcCmd            /usr/bin/cc
  48. #if OSMajorVersion >= 6
  49. #define DefaultCCOptions    -Xc -Wf,-XNp9000,-XNd6000
  50. #define PexCCOptions        -Xc -Wf,-XNp15000,-XNd15000
  51. #define SharedLibraryLoadFlags -G -rpath $(USRLIBDIR)
  52. #define PositionIndependentCFlags -K PIC -Wx,-G 0
  53. #define PositionIndependentCplusplusFlags -K PIC -Wx,-G 0
  54. #define SharedXmuReqs $(LDPRELIB) $(XTOOLLIB)
  55. #define FixupLibReferences() /**/
  56. #include <sv4Lib.rules>
  57. #else
  58. #define DefaultCCOptions    -Wf,-XNp9000,-XNd6000
  59. #define PexCCOptions        -Wf,-XNp15000,-XNd15000
  60. #endif
  61.  
  62. #endif
  63.  
  64. /*
  65.  * SONY C++ compiler is based on vanilla cfront, which means it
  66.  * refuses to compile files unless their names end in ".C".  We
  67.  * have to completely override .SUFFIXES to avoid using the builtin
  68.  * .C to .o rule in cases where the link to foo.C is already there,
  69.  * because the builtin rule doesn't use the right compilation flags.
  70.  */
  71.  
  72. .SUFFIXES:
  73. .SUFFIXES: .o .c .y .l .s .sh .h .f .Y .L .cxx
  74.  
  75. #define NormalLibObjCplusplusCompile(options) test -r $*.C || $(LN) $*.CCsuf $*.C @@\
  76.     $(CXX) -c $(CXXFLAGS) options $*.C
  77.  
  78. XCOMM operating system:  OSName
  79.  
  80. #define BuildServer             NO
  81.